<ion-radio class="item item-icon-left item-icon-right" ng-if="isLeaf(item)" ng-click="warpCallback('itemClicked', item, $event);">
  <i class="icon {{leafIcon}} dark2"></i>
  {{item[textField]}}
</ion-radio>

<div class="item item-has-children" ng-if="!isLeaf(item)">
    <ion-radio class="item item-icon-left" ng-click="warpCallback('itemClicked', item, $event);">
      <i class="icon dark2 {{getItemIcon(item)}}"></i>
      {{item[textField]}}
    </ion-radio>
  <div class="list sub-list" ng-if="!isLeaf(item)">
    <div class="item-wrapper" ng-repeat="item in item.children" ng-include="recursionTemplate"></div>
  </div>
</div>
